package com.kate.mall.exception.core.constants.enums;

import com.kate.mall.exception.core.assertion.BusinessExceptionAssert;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseEnum implements BusinessExceptionAssert {

    /**
     * Bad item type
     */
    BAD_ITEM_TYPE(7001, "Bad item type."),
    /**
     * item not found
     */
    ITEM_NOT_FOUND(7002, "item not found.")
    ;

    /**
     * 返回码
     */
    private int code;
    /**
     * 返回消息
     */
    private String message;
}